package loengud.w02;

/**
 * An example class to hold person data.
 * @author Ago
 *
 */
public class Inimene {

	/**
	 * Weight in kgs.
	 */
	public int weight;
	
	/**
	 * Person name.
	 */
	public String name;
	
	/**
	 * Height in cms.
	 */
	public int height;
	
	/**
	 * Prints out data.
	 */
	public void printData() {
		System.out.print("Name: " + this.name);
		System.out.print(" weight:" + weight);
		System.out.println(" height:" + height);
	}
	
	/**
	 * Static method. This method cannot access person's data.
	 */
	public static void printStuff() {
		System.out.println("inimene");
	}
}
